package service;

import domain.User;

public interface UserService {
    boolean register(User user);
    User login(String userName, String password) throws Exception;
    User queryByUsername(String userName);
    boolean updateUserInfo(User user) throws Exception;
    boolean addUserExperience(String userId,int exper) throws Exception;
}
